/**
 *  2013-5-15   上午10:56:12
 *  Created By niexiaoqiang
 */

package com.xiaoqiang.main;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

import org.apache.log4j.Logger;

import com.xiaoqiang.network.MtwServer;

/**
 * TODO Add Class Description
 */
public class MtwMain {

	public static Properties props;
	private static Logger log = Logger.getLogger(MtwServer.class);

	/**
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) {
		props = new Properties();
		try {
			props.load(new BufferedInputStream(new FileInputStream("./config/mtw.properties")));
		} catch (IOException e) {
			log.error(e);
		}
		new MtwServer().run();
	}

}
